//
//  HeadCollectionReusableView.m
//  TourPlay
//
//  Created by dllo on 15/11/26.
//  Copyright © 2015年 王军岐. All rights reserved.
//

#import "HeadCollectionReusableView.h"

@interface HeadCollectionReusableView ()

@property (nonatomic, retain) UILabel *label;

@end


@implementation HeadCollectionReusableView
- (void)dealloc
{
    [_label release];
    [super dealloc];
}
- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self createSubViews];
    }
    return self;
}
- (void)createSubViews
{
    self.label = [[UILabel alloc] initWithFrame:CGRectMake(20, 10, SCREEN_WIDTH - 20, 30)];
    //    label.backgroundColor = [UIColor orangeColor];
    
    self.label.text = @"音乐";
    self.label.font = [UIFont systemFontOfSize:15.f ];
    self.label.textColor = [UIColor colorWithRed:0.7 green:0.67 blue:0.68 alpha:1];
    [self addSubview:self.label];
    [_label release];
}
- (void)setLableWithValue:(NSString *)value
{
    self.label.text  = value;

}
@end
